Search results

6 packages found

Rounds an integer up to a power of 2

published 1.0.0 9 years ago
M
Q
P

Test whether an unsigned integer is a power of 2.

published 0.2.1 2 months ago
M
Q
P

returns the next highest power of two

published 1.0.0 9 years ago
M
Q
P

Find the smallest power of 2 with magnitude greater than or equal to input unless 0

published 1.2.7 3 years ago
M
Q
P

7 => [ 4, 2, 1 ]

published 1.0.0 6 years ago
M
Q
P

whether a number is power of two

published 1.0.0 9 years ago
M
Q
P